package com.fulihui.common.enums;

/**
 * 客服消息类型
 *
 * @author wang_wx
 * @date 2018-07-12
 */
public enum CustomMsgTypeEnum implements BaseEnum {
    text("text", "文本"),
    image("image", "图片"),
    voice("voice", "语音"),
    video("video", "视频"),
    music("music", "图文消息音乐"),
    news("news", "图文消息-外链"),
    mpnews("mpnews", "图文消息-图文消息页面"),
    wxcard("wxcard", "卡券");

    private String code;
    private String desc;

    CustomMsgTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
